<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #app {
  font-family: sans-serif;
  border: 1px solid #eee;
  border-radius: 2px;
  padding: 20px 30px;
  margin-top: 1em;
  margin-bottom: 40px;
  user-select: none;
  overflow-x: auto;
  text-align: center;
}
    </style>
</head>
<body>
  <div id="app">
    <p>{{message}}</p>
    <input  v-model="message">
  </div>
</body>
<script src="https://unpkg.com/vue@next"></script>
<script>
    const TwoWayBinding={
        data(){
            return{
                message:'你好'
            }
        }
    }
    Vue.createApp(TwoWayBinding).mount("#app")
</script>
</html>